package com.yang.proxy.staticproxy;

import com.yang.proxy.ActualBuyer;
import com.yang.proxy.Buyer;

/**
 * @author yang
 * @version 0.1
 * @date 2019/4/12
 */
public class StaticProxyTest {

    public static void main(String[] args) {
        Buyer buyer = new ActualBuyer();
        Intermediary intermediary = new Intermediary(buyer);
        intermediary.house();
    }
}
